package com.example.travel.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.travel.domain.entity.Article;
import com.example.travel.domain.entity.Spot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author : LinQingLiang
 * @file : ArticleMapper.java
 * @Since : 2023/2/15 8:48
 */

@Mapper
public interface ArticleMapper extends BaseMapper<Article> {


    Page page(@Param("page") Page<Article> page, @Param(Constants.WRAPPER) Wrapper<Article> qw);
}
